
<form method="POST" action="save_data">
    <fieldset>
        <table>
            <tr >
                <td align="center">Mata Kuliah</td>
                <td align="center">Nilai</td>

            </tr>
            <tr class="clone">
                <td >
                    <select class="span5" name="kd_makul[]">
                        <?php
                        foreach ($this->list_makul as $key => $value) {
                            echo '<option value="' . $value['kd_makul'] . '">' . $value['nama'] . '</option>';
                        }
                        ?>
                    </select>
                </td>
                <td >
                    <select class="span1" name="nilai[]">
                        <option value=4>A</option>
                        <option value=3.5>AB</option>
                        <option value=3>B</option>
                        <option value=2.5>BC</option>
                        <option value=2>C</option>
                        <option value=1.5>D</option>
                        <option value=1>E</option>
                    </select>
                </td>            
            </tr>
            <tr>
                <td><a href="#" class="add" rel=".clone">add more</a></td>
            </tr> 

        </table>
        <div class="form-actions">

            <input class="btn btn-success" type="submit" value="Submit"/>

        </div>
    </fieldset>
</form>
